function Graphic2DObject(options) {
	this.x = (options && options.x) || 0;
	this.y = (options && options.y) || 0;
	this.width = (options && options.width) || 1;
	this.height = (options && options.height) || 1;
	
	this.setX = function (x) {
		this.x = x;
	};
	
	this.setY = function (y) {
		this.y = y;
	};
	
	this.getWeight = function () {
		return this.width * this.height;
	};
}